package com.sishuok.springbootstudy.hello;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class FirstController {

	@RequestMapping("/abc")
	@ResponseBody
	public MyModel abc() {
		
		System.out.println("now in FirstController.abc");
		
		return new MyModel("id1", "cctest", 111);
	}
}
